package com.sunda.spmsoversea.enums;

/**
 * @author waynewu
 */

public enum OverseaWhsDumpEnum {
    /** 海外SPMS转储单据状态:
     * 0删除；
     * 1草稿；
     * 2待审批；
     * 3SPMS审批通过(提交OA);
     * 4OA驳回(操作同1);
     * 5OA审批通过(出库中);
     * 6出库完成(待获取PO);
     * 7提交SAP获取PO失败;
     * 8提交SAP获取PO(待获取DN);
     * 9提交SAP获取DN失败;
     * 10提交SAP获取DN成功(扣转出方库存);
     * 11转出已撤销(撤到状态5出库中，SAP撤回成功则加回库存);
     * */
    WHS_DUMP_DELETE("0", "删除", "Delete."),
    WHS_DUMP_SAVE("1", "保存", "Draft."),
    WHS_DUMP_PENDING("2", "待审批", "Pending Approval."),
    WHS_DUMP_SUBMIT_OA("3", "提交OA成功", "Submit OA Success."),
    WHS_DUMP_OA_REJECT("4", "OA驳回", "OA Reject."),
    WHS_DUMP_OA_APPROVE("5", "OA审批通过/出库中", "OA Approved/In Delivery."),
    WHS_DUMP_DELIVERY("6", "出库完成", "Delivery Complete."),
    WHS_DUMP_PO_ERROR("7", "提交SAP获取PO失败", "Get Purchase Order Error."),
    WHS_DUMP_PO("8", "提交SAP获取PO成功", "Get Purchase Order Success."),
    WHS_DUMP_DN_ERROR("9", "提交SAP获取DN失败", "Get Delivery Note Error."),
    WHS_DUMP_DN("10", "提交SAP获取DN成功", "Get Delivery Note Success."),
    WHS_DUMP_CANCEL("11", "已撤销", "Cancel."),
    WHS_DUMP_CANCEL_TO5("5", "撤销到OA审批通过/出库中", "Cancel To OA Approved/In Delivery."),
    WHS_DUMP_CANCEL_TO1("1", "撤销到保存状态", "Cancel To Save."),
    WHS_DUMP_CANCEL_ERROR("99", "撤销失败", "Cancel Error."),
    WHS_DUMP_CANCEL_CREATE("98", "创建转储任务", "Create."),
    WHS_DUMP_SUBMIT_OA_ERROR("97", "提交OA失败", "Submit OA Error."),
    WHS_DUMP_UPDATE("96", "更新", "Update."),
    WHS_DUMP_INV_UPDATE("95", "库存更新成功", "Inventory Updated Successfully.")
    ;

    private String code;
    private String descZh;
    private String descEn;

    OverseaWhsDumpEnum(String code, String descZh, String descEn) {
        this.code = code;
        this.descZh = descZh;
        this.descEn = descEn;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescZh() {
        return descZh;
    }

    public void setDescZh(String descZh) {
        this.descZh = descZh;
    }

    public String getDescEn() {
        return descEn;
    }

    public void setDescEn(String descEn) {
        this.descEn = descEn;
    }
}
